package com.rc.saas.tenant.service.area;

import com.rc.saas.tenant.mapper.area.PlatformAreaMapper;
import com.rc.saas.tenant.mapper.area.PlatformCityMapper;
import com.rc.saas.tenant.mapper.area.PlatformProvinceMapper;
import com.rc.saas.tenant.model.area.PlatformCity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author frog
 * @data 2019/10/17
 */
@Service
public class PlatformCityServiceImpl implements PlatformCityService {


    @Autowired
    private PlatformProvinceMapper platformProvinceMapper;

    @Autowired
    private PlatformAreaMapper platformAreaMapper;

    @Autowired
    private PlatformCityMapper platformCityMapper;

    @Override
    public PlatformCityMapper getMapper() {
        return platformCityMapper;
    }

    @Override
    public List<PlatformCity> listHlhtOpenStationCity(String tenantCode) {
        return platformCityMapper.listHlhtOpenStationCity(tenantCode);
    }
}
